package com.tqjc.system.core.gate.service;

import com.tqjc.system.system.entity.SysGateRecordEntity;

/**
 * @author 86195
 * @version 1.0
 * @description 道闸服务类
 * @date 2023/9/19 15:33
 */
public interface SysGateService {

    public void init();


    public void disconnect();


    public void monitor();



    /**
     * 打开道闸
     */
    public void openGate(int index) throws Exception;

    /**
     * 进入卸料区
     */
    public void enter(SysGateRecordEntity entity) throws Exception ;


    /**
     * 出去卸料区
     */
    public void exit(SysGateRecordEntity entity) throws Exception;
}
